﻿@model CQIE.OVS.Model.User

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/kj/layui/css/denglu.css" rel="stylesheet" />
    <title>登录</title>
</head>
<body>
<div id="container">
    <div id="main">
        <div id="aside">
            <p>Welcome!</p>
            <h2>在线投票后台管理系统</h2>
        </div>
        <div id="content">
            <div class="from">
                <form class="from-one" action="/Home/Login" method="post">
                    <span class="from-one-titlle">登陆/Loging</span>
                    <div class="wrap-input100 validate-input m-b-23" data-validate="请输入用户名">
                        <input required class="input100" type="text" name="username" placeholder="请输入用户名" autocomplete="off">
                        <span class="focus-input100" data-symbol="&#xf206;"></span>
                    </div>
							
                    <div class="wrap-input100 validate-input" data-validate="请输入密码">
                        <input required class="input100" type="password" name="password" placeholder="请输入密码">
                        <span class="focus-input100" data-symbol="&#xf190;"></span>
                    </div>
							
                    <div class="container-login100-form-btn">
                        <div class="wrap-login100-form-btn">
                            <button type="submit" class="login100-form-btn">登 录</button>
                            <script src="~/kj/layui/layui.js"></script>
                            @{
                                if (ViewBag.error == "1")
                                {

                                    <script>
                                        layui.use('layer',
                                            function() {
                                                var layer = layui.layer;

                                                layer.msg("用户名或密码错误！");
                                            });
                                    </script>
                                }
                            }
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>
